package org.issaclu.springbootmybatis.user.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.issaclu.springbootmybatis.user.dto.UserInfo;
import org.issaclu.springbootmybatis.user.dto.UserInfoDetail;

import java.util.List;

/**
 * @author zhaoxingwu
 */
@Mapper
public interface UserInfoBasicQueryMapper {

    UserInfo getById(String id);

    List<UserInfoDetail> getUserWithDetailByName(String name);

    UserInfo getUserInfoWithDetail(String id);
    UserInfo getUserInfoWithDetail2(String id);
    UserInfo getUser(String id);
    UserInfo getUser2(String id);
    UserInfo getUserWithHouse(String id);
    UserInfo getUserWithHouse2(String id);
}
